﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StockMonitor
{
    /// <summary>
    /// 股票池项、股票池中的元素
    /// </summary>
    /// <remarks>
    /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
    /// 编写时间：<datetime>2012-10-16 5:52 PM</datetime>
    /// </remarks>
    public class StockPoolItem
    {
        public string StockCode { get; set; }
        public string StockName { get; set; }
        public int ExchangeAmount { get; set; }
        /// <summary>
        /// 追加交易数量
        /// </summary>
        public int AppendAmount { get; set; }
        public Enums.PriceType ExchangePriceType { get; set; }

        public int CurrentAmount { get; set; }
        public int EnableAmount { get; set; }

        public int TodayExchangeSummary { get; set; }

        public bool IsBuy { get; set; }

        public DateTime LastTrigger { get; set; }
        public DateTime LastAppendTrigger { get; set; }
    }


    public class LimitedStockPoolItem
    {

        public string StockCode { get; set; }
        public string StockName { get; set; }
        public int ExchangeAmount { get; set; }

        public int CurrentAmount { get; set; }
        public int EnableAmount { get; set; }
        /// <summary>
        /// 限价交易的交易价格
        /// </summary>
        public double ExchangePrice { get; set; }
        public bool IsBuy { get; set; }
        public bool IsEnabled { get; set; }
    }
}
